package cn.wolfcode.rbac.query;

import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

public class CustomerReportQuery extends QueryObject {
    @DateTimeFormat(
            pattern = "yyyy-MM-dd"
    )
    private Date beginDate;
    @DateTimeFormat(
            pattern = "yyyy-MM-dd"
    )
    private Date endDate;
    private String groupType = "e.name";

    public CustomerReportQuery() {
    }

    public void setBeginDate(Date beginDate) {
        this.beginDate = beginDate;
    }

    public void setEndDate(Date endDate) {
        this.endDate = endDate;
    }

    public void setGroupType(String groupType) {
        this.groupType = groupType;
    }

    public Date getBeginDate() {
        return this.beginDate;
    }

    public Date getEndDate() {
        return this.endDate;
    }

    public String getGroupType() {
        return this.groupType;
    }


}
